import numpy as np
import matplotlib.pyplot as plt

# ones = np.ones((4, 8))
# print(ones)
#
# x = np.arange(6)
# x = x.reshape((2, 3))
# print(x)
# ones_like = np.ones_like(x)
# print(ones_like)

# a = np.array([[1, 2, 3], [4, 5, 6]])
# a1 = np.array(a)
# a2 = np.asarray(a)
# print(a1)
# print(a2)
# a[0, 0] = 10
# print(a1)
# print(a2)

# print(np.linspace(0, 100, 11, dtype=np.uint8))
# print(np.arange(0, 100, dtype=np.uint8))
# print(np.logspace(0, 2, 3))

# print(np.random.rand(2, 3, ))
# print(np.random.uniform(low=-1, high=1, size=(3, 3)))
# print(np.random.randint(1, 10, (3, 5)))

# x1 = np.random.uniform(-1, 1, 100000000)
# plt.figure(figsize=(10, 10), dpi=100)
# plt.hist(x1, 1000)
# plt.show()

x1 = np.random.normal(175, 1, 100000000)
plt.figure(figsize=(10, 10), dpi=100)
plt.hist(x1, 1000)
plt.show()